package com.ruoyi.assets.service;

import java.util.List;
import com.ruoyi.assets.domain.AssetsDepartment;

/**
 * 部门Service接口
 * 
 * @author 孙帆科
 * @date 2025-03-05
 */
public interface IAssetsDepartmentService 
{
    /**
     * 查询部门
     * 
     * @param departmentId 部门主键
     * @return 部门
     */
    public AssetsDepartment selectAssetsDepartmentByDepartmentId(Long departmentId);

    /**
     * 查询部门列表
     * 
     * @param assetsDepartment 部门
     * @return 部门集合
     */
    public List<AssetsDepartment> selectAssetsDepartmentList(AssetsDepartment assetsDepartment);

    /**
     * 新增部门
     * 
     * @param assetsDepartment 部门
     * @return 结果
     */
    public int insertAssetsDepartment(AssetsDepartment assetsDepartment);

    /**
     * 修改部门
     * 
     * @param assetsDepartment 部门
     * @return 结果
     */
    public int updateAssetsDepartment(AssetsDepartment assetsDepartment);

    /**
     * 批量删除部门
     * 
     * @param departmentIds 需要删除的部门主键集合
     * @return 结果
     */
    public int deleteAssetsDepartmentByDepartmentIds(Long[] departmentIds);

    /**
     * 删除部门信息
     * 
     * @param departmentId 部门主键
     * @return 结果
     */
    public int deleteAssetsDepartmentByDepartmentId(Long departmentId);
}
